package one.stand.mapper;

import one.stand.model.BusinessCardVideoModel;

import java.util.List;

public interface BusinessCardVideoMapper {
    int deleteByPrimaryKey(Long videoId);

    int insertSelective(BusinessCardVideoModel record);

    BusinessCardVideoModel selectByPrimaryKey(Long videoId);

    /**
     * 获取用户名片视频
     * @param inModel
     * @return
     */
    List<BusinessCardVideoModel> selectByCardList(BusinessCardVideoModel inModel);

    /**
     * 统计视频数据量
     * @return
     */
    Integer count(BusinessCardVideoModel inModel);

    int updateByPrimaryKeySelective(BusinessCardVideoModel record);

}